package com.le.basic.linked.singleDemo;

public class SingleNode {
    int data;
    SingleNode next;

    public SingleNode(int data) {
        this.data = data;
    }

    public SingleNode() {
    }

    @Override
    public String toString() {
        return "SingleNode{" +
                "data=" + data +
                '}';
    }
}
